-
-
Notifications
You must be signed in to change notification settings - Fork 618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert to ESLint 9 flat config and move to pnpm, use .mjs and new jest types #2548
base: main
Are you sure you want to change the base?
Conversation
Okay. So. This PR works and relies on exercism/javascript-test-runner#852, but I do not know if that PR will work as it requires the My plan is:
If that works, mark this as ready and we are good to go! If it doesn't work, I will revert the test runner and message Jeremy. |
What a monster PR! Not even sure where to start with this... |
Isn't it fun 📦. Basically: eslint 9, pnpm instead of npm. Check that the instructions to install are clear and that you don't absolutely hate it. |
Looks good from what I could see, appart from a few leftover comments. |
@Cool-Katt where's the comments? |
* Run this script (from root directory): npx babel-node scripts/sync | ||
* Run this script (from root directory): | ||
* | ||
* $ corepack yarn sync |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it be pnpm
here instead of yarn
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes!
#!/usr/bin/env node | ||
|
||
/** | ||
* Run this script (from root directory): npx babel-node scripts/checksum |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leftover comment
@@ -7,5 +7,6 @@ | |||
// because of how whitespace is (not) rendered. | |||
65 | |||
] | |||
} | |||
}, | |||
"cSpell.words": ["xtest"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this intended for here or was it an artifact?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eh. Yeah i run spellcheck locally but didn't mean to commit this I think.
@SleeplessByte sorry, I accidentally forgot to post the actual review. Lol |
Related: exercism/javascript-test-runner#852
Similar to: exercism/typescript#1506
corepack
gets removed in the future, our migration path is as "simple" as removingcorepack
from the calls. Everything keeps working.